package com.scedu.spring5.collectiontype;

import java.util.List;

public class StuList {
    //List类型属性
    private List<String> lists;

    public void setLists(List<String> lists) {
        this.lists = lists;
    }
    public void test(){
        for (String array : lists) {
            System.out.println(array);
        }
    }
}
